Trouble binding the Angular values to the index.