mhevery/angular.js — comment on commit c59471bfd7ed601f95d398aec927f6eb9ebef1f8
File: test/widgetsSpec.js line 633
By IgorMinar:

this is wrong. first create `var element = angular.element(....);` and then compile it with `angular.compile(element)($rootScope)`. Lastly use `element` in the assertions