Update templates to match renamed JSON and $scope in directives