3 ms·
Mine looks something like <!doctype html> <html lang=en" ng-app="App> <head>[...]</head> <body><div ui-view id="content"></div></body> <scr
by bmelton 12y ago
Mine looks something like
<!doctype html>
<html lang=en" ng-app="App>
<head>[...]</head>
<body><div ui-view id="content"></div></body>
<script src="/path/to/production.js"></script>
</html>
And, aside from the stuff I snipped out of the head, that's about it. Angular populates all the rest.
- mascot6699 12y ago@bmelton even in your case where you use Angular you could include head css and head js files, analytic js files etc. such division helps extension later on easier. Its like best practices!! See the link which I attached above you should understand.
- bmelton 12y agoYeah, I only snipped the head because it's boring.