Using Times Developer APIs to practice angularJS