Created
November 16, 2014 20:17
-
-
Save KamilLelonek/6958fe5c28d8b1516278 to your computer and use it in GitHub Desktop.
Angular-compiled partials from HTML templates
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 characters
angular.module('partials', []) | |
.run(['$templateCache', function($templateCache) { | |
return $templateCache.put('/partials/content.html', [ | |
'', | |
'<div class="main-content">', | |
' <div ui-view="Main"></div>', | |
' <div class="push"></div><span ng-include="\'/partials/footer.html\'"></span>', | |
'</div>',''].join("\n")); | |
}]) | |
.run(['$templateCache', function($templateCache) { | |
return $templateCache.put('/partials/footer.html', [ | |
'', | |
'<footer id="footer" sh-footer ng-class="{\'footer--show\' : endReached}">', | |
' <div class="container">', | |
' <p><span translate="footer.rights"></span><span> StudentHunter Team.</span></p>', | |
' </div>', | |
'</footer>',''].join("\n")); | |
}]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment