我的模板正在加载,但我得到一个错误,控制器是未定义的。控制器确实存在于我的源中,确切地位于定义的位置。这个代码有什么问题?
Error: [ng:areq] Argument '/Scripts/controllers/wizardNavigationCtrl.js' is not a function, got undefined
http://errors.angularjs.org/1.2.14/ng/areq?p0=%2FScripts%2Fcontrollers%2FwizardNavigationCtrl.js&p1=not%20aNaNunction%2C
我将AngularJS和与指令包装一起使用。这是我的模块文件
angular.module('RDash', ['ui.bootstrap', 'ui.router', 'ngCookies','ng-oboe','ng.epoch'])
.config(function (oboeProvider) {
/* If we were so inclined, we could change the oboe defaults here - headers, etc. */
我需要点击一个自选菜单,并使用量角器js选择一个由primefaces组成的项目。
这是我的代码:
it ('should pesquisa', function () {
browser.get('localhost:8080/myapp/geral.xhtml');
var agruparPorFocus = element(protractor.By.xpath('//div[@id="form-pesquisa:consultarPor_panel"]/div/ul/li[4]')).clic