Advertisement
Guest User

Untitled

a guest
Jan 27th, 2015
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. 'use strict';
  2.  
  3. /**
  4. * @ngdoc directive
  5. * @name __appname__.directive:__directive__
  6. * @description
  7. * # __directive__
  8. */
  9. angular.module('__appname__')
  10. .directive('__directive__', function () {
  11. return {
  12. templateUrl: 'components/__directive__/__directive__.html',
  13. restrict: 'E',
  14. scope: {},
  15. link: function postLink(scope, element, attrs) {
  16. element.text('this is the __directive__ directive');
  17. }
  18. };
  19. });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement