The dependency for et-template compiled codes.
##Install
npm i et-dependency --save-dev
import * as dependency from 'et-dependency'
var dependency = require('et-dependency/dist/amd')
var dependency = require('et-dependency/dist/cmd')
<script src="node_modules/angular/angular.js">
<script src="node_modules/et-dependency/dist/ng.js"></script>
<script>
angular.module('yourAppName', ['et.template'])
</script>
The project depends on Phantomjs. If you are in China and there has the problem to install it. Write the following codes to this file ~/.npmrc
.
phantomjs_cdnurl=http://cnpmjs.org/downloads