Updated template to use controllerAs syntax with product details example.