Updated controllers to include array format to be used in case angular files are minified.