Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (function() {
- 'use strict';
- angular
- .module('my.dir', [])
- .directive('my-dir', MyDirDirective);
- function MyDirDirective() {
- return {
- restrict: 'E',
- controller: MyDirController
- }
- }
- })();
- (function() {
- 'use strict';
- angular
- .module('my.dir', [])
- .controller('MyDirController', MyDirController);
- function MyDirController() {
- }
- })();
Add Comment
Please, Sign In to add comment