如何在AngularJS中使用quokka

时间:2018-08-26 17:52:43

标签: javascript angularjs quokka.js

我正在尝试使用https://quokkajs.com/。但是当我这样做时,console.log()并没有定义angular

    var app = angular.module('tapp', []);  angular is not defined
app.controller('tcontroller', ['$scope', function($scope,multwo){
    $scope.total = 0;
    console.log(total);
    $scope.items = {
       it1: {course: 'webdev', price:300, selected:false},
       it2:{course: 'design', price:200 , selected:false},
       it3:{course: 'integration', price:300, selected:false}

    })...

0 个答案:

没有答案