Updated Angularf models so as to not use the $scope dirtly