Fix for Angular 1.3.7

It seems something has changed related to isolate scope in anglular 1.3. I suspect this

https://docs.angularjs.org/guide/migration#isolate-scope-only-exposed-to-directives-with-scope-property

Anyway, this fixes the issue with 1.3.7