5
를 작동하는 방법 :각 부트 스트랩 아코디언 내가이의 repo에서 작업 아코디언을 받고 운이없는거야
https://github.com/angular-ui/bootstrap가 표시되지 않습니다 제목처럼 보인다, 그리고 나는 이유를 알지 못한다.
html로 :
<!doctype html>
<html ng-app="myApp">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Angular UI Test</title>
<meta charset="utf-8" />
<script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.0.2/angular.min.js"></script>
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.1.1/css/bootstrap-combined.min.css" />
<script src="https://raw.github.com/angular-ui/bootstrap/master/src/accordion/accordion.js"></script>
<script src="app.js"></script>
<style type="text/css">
.wrap {width:960px;margin:0 auto;}
</style>
</head>
<body>
<div class="wrap" ng-controller="MyCtrl">
<accordion>
<accordion-group title="Title">This has a one word title.</accordion-group>
<accordion-group title="Title2">This also has a one word title.</accordion-group>
<accordion-group title="Title With Spaces">This has a title with spaces!</accordion-group>
</accordion>
</div>
</body>
JS : 당신은 제목을 바꿈 ''둘 필요가
var myApp = angular.module('myApp',['ui.bootstrap.accordion']);
function MyCtrl($scope) {
}
입니다 마에. 고맙습니다! – kmm
그것은 나에게 많은 시간이 걸립니다 :). 당신은 혼자가 아닙니다. – maxisam