Angularjs 如何在angular+;离子框架?
我试图在ionic framwork中使用require js创建一个简单的登录页面,但我遇到了这个错误Angularjs 如何在angular+;离子框架?,angularjs,angularjs-directive,requirejs,angularjs-scope,ionic-framework,Angularjs,Angularjs Directive,Requirejs,Angularjs Scope,Ionic Framework,我试图在ionic framwork中使用require js创建一个简单的登录页面,但我遇到了这个错误 Uncaught Error: [$injector:nomod] Module 'app.auth' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies a
Uncaught Error: [$injector:nomod] Module 'app.auth' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.
http://errors.angularjs.org/1.3.13/$injector/nomod?p0=app.auth
你能告诉我如何消除这个错误吗?我使用的是离子框架,它是angular和HTML的组合
这是我的密码
似乎缺少ng应用程序?我正在使用require js..请检查app.jsI see angular.module(“app.auth”,['ionic']);但是我找不到模块名“ionic”?@NuongNguyen如何解决这个问题。@NuongNguyen你用过ionic和require js吗?
define(['ionic','auth/controller/authCtrl'],function(){
'use strict'
angular.module("app.auth",['ionic']);
})