Here is the complete error text:
Page error: TypeError: 'undefined' is not a function (evaluating 'ModuleStore.register.bind(ModuleStore)') Page error: ReferenceError: Can't find variable: angular
I am using phantomJS 2.0 with casperjs 1.1-beta3
UPDATE: I had multiple phantomjs versions installed. When using phantomjs -v
command, it was showing me 2.0.0 but when I used casperjs
command, it showed me that casperjs is using different version.