Tutorial 18.2 Directive Decorator Example
******************************************INDEX.HTML***************************************************** <!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Example - example-directive-decorator-production</title> <script src="//code.angularjs.org/snapshot/angular.min.js"></script> <script src="script.js"></script> </head> <body ng-app="urlDecorator"> <div ng-controller="Ctrl"> <a ng-href="/products/{{ id }}/view" id="id3">View Product {{ id }}</a> - <strong>id === 3</strong>, so no warning<br> <a ng-href="/products/{{ id + 5 }}/view" id="id8">View Product {{ id + 5 }}</a> - <strong>id + 5 === 8</strong>, so no warning<br> <a ng-href="/products/{{ someOtherId }}/view" id=...