Not working properly when `$rootElem` is different from `document.body` (ie. in MEAN.JS)
Hi, I cannot get the sidebars to work on MEAN.JS for some reason. I added mobile-angular-ui to bower and installed it, added the js and css files in the environment setup, added mobile-angular-ui dependency to angular, followed the "Basic Layout" from the documentation but the sidebars are covered by the body. ui-toggle='uiSidebarLeft' buttons don't seem to be doing anything either. I tried this on fresh MEAN.JS setup.
linked to #162
did you found solution?
Oh I forgot to get back to this post. I spent many hours trying to fix this issue. The solution I was looking for turned out to be downgrading. Everything was working fine after downgrading (I forgot the exact release).
on bower or manually?
on bower :)
thank you =) I'll try ...
For Mean.js, edit your /public/application.js file and modify the line :
angular.bootstrap(document).
by
angular.bootstrap(document.body).
Mean.js bootstrap the application on the document element, and therefor, $rootElem get some css class appllied to by mobile-angular-ui, breaking the application.
@a-lucas, awesome catch, going to do something about that. Maybe just documenting for now.