diff --git a/app/index.html b/app/index.html index 63bc479..793c29c 100644 --- a/app/index.html +++ b/app/index.html @@ -78,6 +78,8 @@ + + diff --git a/app/scripts/app.js b/app/scripts/app.js index e1f93e5..a0d4a20 100644 --- a/app/scripts/app.js +++ b/app/scripts/app.js @@ -7,7 +7,8 @@ angular.module('handCoolerApp', [ 'ngRoute', 'mgcrea.ngStrap', 'angularytics', - 'ngSocial' + 'ngSocial', + 'siyfion.sfTypeahead' ]) .config(function ($routeProvider) { $routeProvider @@ -35,6 +36,11 @@ angular.module('handCoolerApp', [ $scope.doSearch = function (query) { $location.path('/search/' + query); }; + $scope.exampleData = { + name: 'accounts', + remote: 'http://cornflower.herokuapp.com/rubygems.org/api/v1/search.json?query=%QUERY' + }; + $scope.foo = null; }) .config(function(AngularyticsProvider) { AngularyticsProvider.setEventHandlers(['Console', 'GoogleUniversal']); diff --git a/app/views/header.html b/app/views/header.html index 9d25d78..771c6a1 100644 --- a/app/views/header.html +++ b/app/views/header.html @@ -13,7 +13,8 @@