:::: MENU ::::
Browsing posts in: Bower

Flickr Search App with Angular.js Part 2

In previous post i’ve built flickr search app with angularjs you can read here. In this tutorial i will show you how to test application with Karma, Jasmine, Phantomjs.

I will use npm to download necessary libraries. You can find npm terms below.

After download Karma, i need to initialize karma with “karma init” to create karma.conf.js.

I will create test->unit->flickrAngularAppUnitSpec.js file to write test with following code.

Continue Reading

Flickr Search App with Angular.js Part 1

Hello everyone,

Here i am with my first blog post in London. Today i will develop flicker photo search application using Angularjs. I will use flickr API to search photos by tag you can check details here. I will use npm and bower for managing libraries therefore as a first step i will run “npm init”  and “bower init” to create package.json and bower.json.

In app.js file we will initialize angular first module and add first controller with name MainCtrl, you can find app.js codes below.

Continue Reading