the solution :
On IRC : Bodin-
Ronyrun, guess the opening of the sidemenu runs later than your controller code. You can wrap your code within a $timeout to get the correct values, like so: http://codepen.io/anon/pen/OPedaM
the solution :
On IRC : Bodin-
Ronyrun, guess the opening of the sidemenu runs later than your controller code. You can wrap your code within a $timeout to get the correct values, like so: http://codepen.io/anon/pen/OPedaM