Fixed line 247.

As suggested by user caitp I changed "then" to "from". I closed my previous pull request.

https://github.com/angular/angular.js/pull/6031#issuecomment-33543222