{"size": 319, "ext": "js", "max_stars_repo_path": "js/controller/appController.js", "max_stars_repo_name": "Huo-Holly/douban", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "js/controller/appController.js", "max_issues_repo_name": "Huo-Holly/douban", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "js/controller/appController.js", "max_forks_repo_name": "Huo-Holly/douban", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 17.7222222222, "max_line_length": 59, "alphanum_fraction": 0.592476489}
/**
 * Created by Administrator on 2017/07/18 0018.
 */

var app =  angular.module('app');

//创建整个应用的控制器
app.controller('myController',['$scope',function ($scope) {

    $scope.title = "豆瓣电影";

    //设置标题颜色切换
    $scope.type = 'in_theaters';
    $scope.change = function (type) {
        $scope.type = type;
    }

}]);