Sha256: 58091df2f94faa8029c5b78833c0a724a2cf28f28ddc17788a323b7c86d51c21

Contents?: true

Size: 453 Bytes

Versions: 6

Compression:

Stored size: 453 Bytes

Contents

;(function(app) {

	'use strict';

	app.{{type}}('{{name}}',{{name}});

	{{name}}.$inject = {{inject | array_string}};

	function {{name}}({{inject | comma_delimited_variables}}) {
		{% if directive %}
		var d = {
			restrict: 'A',
			link: link
		};

		return d;

		function link(scope, element, attrs) {

		}
		{% endif directive %}
		{% if filter %}
		return function(input) {
			return;
		}
		{% endif filter %}
	}

})(angular.module('{{module}}'));

Version data entries

6 entries across 5 versions & 1 rubygems

Version Path
ngi-0.4.0 test/templates/script/es5/default/basic.js
ngi-0.3.0 lib/ngi/templates/script/es5/default/basic.js
ngi-0.3.0 test/templates/script/es5/default/basic.js
ngi-0.2.3 lib/templates/script/es5/default/basic.js
ngi-0.2.2 lib/templates/script/es5/default/basic.js
ngi-0.2.1 lib/templates/script/es5/default/basic.js