Last active
August 29, 2015 14:04
-
-
Save samuelsimoes/ae4e75a27c252ee2fcea to your computer and use it in GitHub Desktop.
Revisions
-
samuelsimoes revised this gist
Aug 23, 2014 . 1 changed file with 5 additions and 5 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,16 +1,16 @@ <!-- directive that make the partial inclusion --> <div ng-include src="my_template.html"></div> <!-- my_template.html --> <div ng-controller="MyController" class="my-container"> <strong>My template</strong> </div> <!-- ---- --> <!-- or --> <!-- ---- --> <!-- directive that make the partial inclusion --> <div ng-include src="my_template.html" ng-controller="MyController" class="my-container"></div> <!-- my_template.html --> -
samuelsimoes created this gist
Jul 30, 2014 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,17 @@ <!-- diretriz que faz a inclusão --> <div ng-include src="my_template.html"></div> <!-- my_template.html --> <div ng-controller="MyController" class="my-container"> <strong>My template</strong> </div> -------------- ou -------------- <!-- diretriz que faz a inclusão --> <div ng-include src="my_template.html" ng-controller="MyController" class="my-container"></div> <!-- my_template.html --> <strong>My template</strong>