Guest User

Untitled

a guest
Aug 17th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. (function() {
  2. 'use strict';
  3.  
  4. angular
  5. .module('my.dir', [])
  6. .directive('my-dir', MyDirDirective);
  7.  
  8. function MyDirDirective() {
  9. return {
  10. restrict: 'E',
  11. controller: MyDirController
  12. }
  13. }
  14. })();
  15.  
  16. (function() {
  17. 'use strict';
  18.  
  19. angular
  20. .module('my.dir', [])
  21. .controller('MyDirController', MyDirController);
  22.  
  23. function MyDirController() {
  24.  
  25. }
  26. })();
Add Comment
Please, Sign In to add comment