Polymer and AngularJS working together with ng-view -
recently have discovered polymer project, looks nice , fun develop with. want combining angular provide little routing. have index.html
page containing polymer includes, html headers, scripts , styles. want small piece of code on every page of application, namely side-menu using core-drawer-panel
. approach put part right after opening <body>
tag , right below menu code <ng-view></ng-view>
specific pages, e.g. main.html
should loaded into. if put everything, menu , page-specific code, main.html
, routing works fine. doing described above - have menu on every page - has result menu , nothing else shown up.
let s see angular material design on github, adapted version of polymer project angular :-)
Comments
Post a Comment