These are chat archives for filearts/plunker

17th
May 2016
Anthony Taroli
@CodeYourLife
May 17 2016 17:47
trying to use UI Bootstrap with Angular
it's not working, do I pull in both scripts?
doing this in the js:
angular
.module("githubViewer", ['ui.bootstrap'])
.controller("MainController", MainController)
and this in the html with no luck

<head>
<script data-require="ui-bootstrap@*" data-semver="1.3.2" src="https://cdn.rawgit.com/angular-ui/bootstrap/gh-pages/ui-bootstrap-tpls-1.3.2.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.5.5/angular.min.js"></script>
<link rel="stylesheet" href="style.css" />
<script src="script.js"></script>
</head>

<body ng-controller="MainController">
<div class="page-header">
<h1>
{{ message }}
</h1>
</div>

swapnilgajbhiyesyne
@swapnilgajbhiyesyne
May 17 2016 18:20
hi
anyone ????
not able to add package angujarjs
Anthony Taroli
@CodeYourLife
May 17 2016 19:48
Hi swapnilgajbhiyesyne
add this <script src="//ajax.googleapis.com/ajax/libs/angularjs/1.5.5/angular.min.js"></script>
in the .js you may want to nest your code in an IIFE so they are not global... here is the start of my project so you can get started

(function() {

//controller
angular
.module("githubViewer", [])
.controller("MainController", MainController)

MainController.$inject = ["$scope", "$http"];

function MainController($scope, $http) {