Problem with ion-content and scope vars inside function

Of course: http://www.youtube.com/watch?v=ZhfUv0spHCY&feature=share&t=30m51s

(Misko Hevery AngularJS Best Practices)