如何删除angular + ionicframwork中的依赖错误?

时间:2015-06-27 13:53:58

标签: angularjs angularjs-directive requirejs angularjs-scope ionic-framework

我尝试在离子框架中使用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 as the second argument.
    http://errors.angularjs.org/1.3.13/$injector/nomod?p0=app.auth

你能不能告诉我如何删除这个错误。我正在使用离线框架,它是角度和HTML的组合。

这是我的代码 http://plnkr.co/edit/QPXDMQWDhZumeF5HGvvw?p=preview

define(['ionic','auth/controller/authCtrl'],function(){
    'use strict'
    angular.module("app.auth",['ionic']);
})

0 个答案:

没有答案
相关问题