Tutorial 12.12 Creating a Directive that Wraps Other Elements 3
******************************************INDEX.HTML***************************************************** <!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Example - example-directive-transclusion-scope-production</title> <script src="//code.angularjs.org/snapshot/angular.min.js"></script> <script src="script.js"></script> </head> <body ng-app="docsIsoFnBindExample"> <div ng-controller="Controller"> {{message}} <my-dialog ng-hide="dialogIsHidden" on-close="hideDialog(message)"> Check out the contents, {{name}}! </my-dialog> </div> </body> </html> ******************************************INDEX.HTML***************************************************** ********************************************script.js*****************************...
Comments
Post a Comment