Skip to content
Snippets Groups Projects
Commit b556e356 authored by Erik Reid's avatar Erik Reid
Browse files

renamed inventoryProvider controller & js file

parent b0d5fc33
No related branches found
No related tags found
No related merge requests found
......@@ -2,21 +2,12 @@
<html ng-app="inventoryApp">
<head>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.7.5/angular.min.js"></script>
<script src="inventoryProvider.js"></script>
<script src="juniper.js"></script>
<link rel="stylesheet" href="style.css">
</head>
<body>
<!--
<h2>Routers</h2>
<div ng-controller="inventoryProvider">
<ul name="routers" class="unstyled">
<li ng-repeat="r in routers">{{r}}</li>
</ul>
</div>
-->
<div ng-controller="inventoryProvider">
<div ng-controller="juniper">
<h2>Interfaces</h2>
<div>
<select
......
var myApp = angular.module('inventoryApp', []);
myApp.controller('inventoryProvider', function($scope, $http) {
myApp.controller('juniper', function($scope, $http) {
$scope.routers = [];
$scope.router = '';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment