title: Weather forecast using external API
body: <p>I am trying to get weather forecast using external API of <code>openweathermap.org</code>, and want to use angular.js so far i am able to get forecast of single city without using <code>API KEY</code> and trying to get forecast of multiple cities with help of API Key as i am not able to find the proper way to do it with api key</p>
  
  <p>So here is clear picture of what i am trying to do</p>
  
  <p>1.The app should accept multiple city names from the user 
  2. Based on the city names entered, the app should show the the weather forecast for the 14 days for each city </p>
  
  <pre><code>var artistControllers = angular.module('artistControllers', []);
  
  var apiKey = '89b59e4d7d07894243b5acd24e7f18a3';
  artistControllers.controller('WController', ['$scope', '$http', function($scope, $http) {
  console.log('ijij');
  $http.jsonp('api.openweathermap.org/data/2.5/forecast/daily?id=524901').success(function(err,data){
  if(err){
    console.log(err);
  }
  $scope.data=data;
  console.log(data);
  });
  }]);
  </code></pre>