ng-if instead of ng-show
upgraded to angular 1.3
using bindonce in ng-repeat partials
moved css before javascript