ryancp / sailng

Sails.js + Angular = Awesome
MIT License
164 stars 38 forks source link

blank browser #17

Closed antoniosap closed 9 years ago

antoniosap commented 9 years ago

i follow (on sails 0.10.5) $ npm install $ cd assets $ bower install $ cd ../ $ sails lift

load page, html present, no display. any ideas ?

ahaus commented 9 years ago

AngularJS (1.3.x) asks for a base tag. I just added <base href="/"> in layout.ejs just after the <head> tag. As an alternative you might set requireBase() to false with $locastion.requireBase(false). See: https://docs.angularjs.org/guide/$location

ryancp commented 9 years ago

This has been fixed by most recent commit.