You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

article.directive.js 447B

1234567891011121314151617
  1. /**
  2. * Created by robin on 02/22/17.
  3. */
  4. angular.module('app')
  5. .directive('article', [
  6. function () {
  7. return {
  8. restrict: 'E',
  9. require: 'ngModel',
  10. templateUrl: 'views/directives/article.html',
  11. scope: {
  12. 'ngModel': '='
  13. },
  14. link: function ($scope, elm, attr, ctrl) {
  15. }
  16. };
  17. }]);