I have defined some input elements in my HTML Now I want to access them with angular. As template I use the simple json plugin. I addes only this to my datasource.js
import angular from ‘angular’;
and in the query method:
var myApp = angular.module(‘myApp’, );
When I start build with grunt I see the following error:
Running “mochaTest:test” (mochaTest) task
TypeError: Cannot read property ‘angular’ of undefined
Can anyone help? I searched the web but cannot find any helpfull information.