Hello,
I having problem setting up ngMock in angular1 app. I have created the plunker to demonstrate the problem. http://plnkr.co/edit/UQI34twF0tLDOtoXTXGw?p=preview
What is the current behavior?
Interpolation of <p>Hello {{name}}!</p> will not happen.
What is the expected behavior?
Result of interpolation is Hello World!
What is the motivation / use case for changing the behavior?
I am trying to use ngMock in hybrid angular1/angular2 application. ngMock is causing application not to start, so I decided to create minimal angular1 application and try to load ngMock. After loading ngMock and adding it as an app dependency event angular1 application stops working.
*Which versions of Angular, and which browser / OS are affected by this issue? *
angular: angular 1.5.0
OS: windows 8.1
Browser: Chrome 49.0.2623.87 m
Other information (e.g. stacktraces, related issues, suggestions how to fix)
When I modify app.js from
var app = angular.module('plunker', ['ngRoute', 'ngAnimate', 'ngSanitize', 'ngMock'])
to
var app = angular.module('plunker', ['ngRoute', 'ngAnimate', 'ngSanitize']);
...everything works as expected.
Can you please advice ? Thank you