googlearchive / generator-angularfire

Yeoman generator for AngularFire: Angular + Firebase apps
191 stars 52 forks source link

Problem with routes and hash prefix after installation #72

Open eoto88 opened 7 years ago

eoto88 commented 7 years ago

I had to add this : .config(['$locationProvider', function($locationProvider) { $locationProvider.hashPrefix(''); }])

in routes.js so my URLs would not look like that : http://localhost:9000/#!/#%2Fchat

It's my first project with Angular so I dont know if it's common..

Kluskey commented 7 years ago

Thank you! I was wildly confused what was going on with ng-route.

Edit: Not sure if this package is even maintained anymore (since Firebase 2 is still being used). See #67. Also, see: https://github.com/matheushf/generator-angularfire-express

eoto88 commented 7 years ago

Thanks, I will take a look at this generator! :)