I needed to use a particular function to apply directly to links, cause I have also a search input in my side menu.
So I solved it editing the “ionic-app.js” (I called it in this way) and adding a second function with the link as a parameter:
Hey @xAlien95, I would use @MrJean’s approach, since using the sideMenuController directly and modifying the ionic code is not recommended. We are changing lots of things quickly in the alpha state, so this could break at any time.
Well, now I have left Ionic 0.9.0-alpha and I have updated my “project” to the last release of Ionic (0.9.13-alpha). I broke my project eheheh
In 0.9.0 I only added the tweak for the only-left or only-right sidemenu, and I edited a little bit the ionic.css file. Now, with ionic-angular.min.js (I think angular is included in the minified version), ionic.css and ionic.js, in the console logs appears this error:
Error: [$injector:unpr] Unknown provider: aProvider <- a
http://errors.angularjs.org/1.2.1/$injector/unpr?p0=aProvider%20%3C-%20a
The tutorial I followed was for the previous release.
With the newest do I need to add Ionic in a different way?
Here’s the url of my project, each edit to the css is in a different stylesheet file (styles.css).
Maybe the reason of the error could be the “_js” folder name?
Hey @xAlien95. I’m not quite sure why this would be happening. I would try the non-minified version and include angular separately, and then see if that works.