$httpBackend.whenGET('Templates/my-directive.html').passThrough();
$httpBackend.whenGET('Templates/my-directive.html').respond('<div>template text</div>');
So then any time you change Templates/my-directive.html you also have to copy and paste that into this test for the response of that request? That seems not great. Is that really the only option.
--
The preprocessor is in his grunt file or nearby
Pete
...from my mobile.
--
--
You received this message because you are subscribed to the Google Groups "AngularJS" group.
To post to this group, send email to ang...@googlegroups.com.
To unsubscribe from this group, send email to angular+u...@googlegroups.com.
Visit this group at http://groups.google.com/group/angular?hl=en-US.