fortune | cowthink

Good Morning!

 __________________________________
( You will pass away very quickly. )
 ----------------------------------
        o   ^__^
         o  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||

AngularJS Wikipedia Search App – Part One

Build a Wikipedia Search App With AngularJS

Part One – Get Output

In the previous post, I showed how to make unauthenticated API requests to the Wikipedia API.

In this tutorial, I’m going to rebuild the Wikipedia Search App using AngularJS.

Here’s what we’re going to start with:

// app.js

(function(){
  'use strict';

  angular.module('wikipediaApp', [])
  .constant('API_PATH', 'https://en.wikipedia.org/w/api.php')
  .controller('SearchController', SearchController);

  SearchController.$inject = ['$scope', '$http', 'API_PATH'];
  function SearchController($scope, $http, API_PATH){

  }

})();

Continue reading “AngularJS Wikipedia Search App – Part One”

fortune | cowthink

Good Morning from Chicago!

 ________________________________________
( For a light heart lives long.          )
(                                        )
( -- Shakespeare, "Love's Labour's Lost" )
 ----------------------------------------
        o   ^__^
         o  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||

fortune | cowthink

Good Morning!

 _____________________________________
( You will be audited by the Internal )
( Revenue Service.                    )
 -------------------------------------
        o   ^__^
         o  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||

fortune | cowthink

Good Morning!

 ________________________________________
( Q: Why haven't you graduated yet? A:   )
( Well, Dad, I could have finished years )
( ago, but I wanted                      )
(                                        )
( my dissertation to rhyme.              )
 ----------------------------------------
        o   ^__^
         o  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||