Fixed code formatting errors from jshint

Leaving remaining ionic.tdcards.js and instagram.js jshint errors alone.