admin管理员组

文章数量:1389869

I created the following plunker:


But this gives me an error with the line where I try to include a reference to ui-bootstrap

  <head>
    <meta charset="utf-8" />
    <title>AngularJS Plunker</title>
    <script>document.write('<base href="' + document.location + '" />');</script>
    <link rel="stylesheet" href="style.css" />
    <script src="//tinymce.cachefly/4.0/tinymce.min.js"></script>
    <script data-require="[email protected]" src=".0.7/angular.min.js" data-semver="1.0.7"></script>
    <script src="//github/angular-ui/bootstrap/blob/gh-pages/ui-bootstrap-0.4.0.js"></script>
    <script src="app.js"></script>
  </head>

I am not very experienced with creating plunkers. Can someone give me some advice as to what I am doing wrong

I created the following plunker:

http://plnkr.co/edit/c0pGkinMpXBBT1dpLxAo?p=preview

But this gives me an error with the line where I try to include a reference to ui-bootstrap

  <head>
    <meta charset="utf-8" />
    <title>AngularJS Plunker</title>
    <script>document.write('<base href="' + document.location + '" />');</script>
    <link rel="stylesheet" href="style.css" />
    <script src="//tinymce.cachefly/4.0/tinymce.min.js"></script>
    <script data-require="[email protected]" src="https://ajax.googleapis./ajax/libs/angularjs/1.0.7/angular.min.js" data-semver="1.0.7"></script>
    <script src="//github./angular-ui/bootstrap/blob/gh-pages/ui-bootstrap-0.4.0.js"></script>
    <script src="app.js"></script>
  </head>

I am not very experienced with creating plunkers. Can someone give me some advice as to what I am doing wrong

Share Improve this question asked Jul 10, 2013 at 8:23 user1943020user1943020
Add a ment  | 

1 Answer 1

Reset to default 5

You can find and add external libraries from the right side bar in most cases (from the little button that looks like a book), but I think your error stems from that you're linking to the GitHub page instead of the actual script.

The correct link should be: https://raw.github./angular-ui/bootstrap/gh-pages/ui-bootstrap-0.4.0.js

本文标签: javascriptHow can I include uibootstrap in a plunkerStack Overflow