toddmotto / angular-component

Fully featured .component() polyfill for Angular v1.3+
https://toddmotto.com
Other
191 stars 30 forks source link

Component without the "bindings" does not get an isolate scope #6

Closed LulzAugusto closed 8 years ago

LulzAugusto commented 8 years ago

Hi @toddmotto. I'm using your patch and I noticed that when I omit the bindings property of the component below, it doesn't get an isolate scope, while using angular.js-1.5.0-rc.0 it does. See:

1 2

ps: should've cropped the images srry

toddmotto commented 8 years ago

Fixed in https://github.com/toddmotto/angular-component/commit/33113bf8162b8aa291a190b51499cce35605f663