AngularJS: Understanding isolate scope