Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 'use strict';
- /**
- * @ngdoc directive
- * @name __appname__.directive:__directive__
- * @description
- * # __directive__
- */
- angular.module('__appname__')
- .directive('__directive__', function () {
- return {
- templateUrl: 'components/__directive__/__directive__.html',
- restrict: 'E',
- scope: {},
- link: function postLink(scope, element, attrs) {
- element.text('this is the __directive__ directive');
- }
- };
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement