角度highchart ng安装
Angular highchart-ng installation
我无法在我的angular应用程序中使用highcharts ng。https://github.com/dmitruk/highcharts-ng
我已经这样安装了:
bower install highcharts-ng
我的index.js看起来像:
'use strict';
angular.module('highchartApp', [
'ngAnimate',
'ngCookies',
'ngTouch',
'ngSanitize',
'ui.router',
'ui.bootstrap',
'highcharts-ng'
])
.config(function ($stateProvider, $urlRouterProvider) {
$stateProvider
.state('home', {
url: '/',
templateUrl: 'app/main/main.html',
controller: 'MainCtrl'
});
$urlRouterProvider.otherwise('/');
})
;
我错过了什么?因为就这样,我犯了这个错误。。。。
Module 'highcharts-ng' is not available! You either misspelled the module name or blablabla
如果解决方案太简单,请原谅我。
您的网页中包含javascript页面了吗?
您必须在bower文件中保存对highcharts ng的引用:
bower install highcharts-ng --save
相关文章:
- 可以前端maven插件使用节点,npm已经安装
- ng映射方向备选方案
- AngularJS UI路由器不能像ng路由器那样工作
- 角度:在ng重复上切换图像
- 正在使用$location.path(.)路由ng视图
- AngularJS:ng之后,重复$scope值未按预期更新
- ng打开空字符串
- 我应该使用Ng提交还是点击表格
- ng init中的表达式无法使用ng repeat
- ng更改事件不适用于Dropdown
- ng视图外的链接重定向到ng视图内的页面
- ng应用程序使脚本无限运行
- 角度的项目列表 ng 重复,ng 单击显示全宽描述
- ng隐藏和ng显示无法正常工作
- 在Meteor项目中安装并包含npm模块后出错
- 从ng模板访问作用域
- 无法安装节点sass相关性
- 防止ng重复中的重复值(AngularJS)
- 角度highchart ng安装
- 安装 ng-mouseover 和 ng-mouseout 会导致效率极低的 AngularJS 代码