PrintController.js

angular.module('homepage').
controller('PrintController', function ($anchorScroll, $scope, $state, $timeout, $window, DataStoreSrvc) {
	$anchorScroll();

	$scope.inputs = DataStoreSrvc.getInputData();

	$scope.onBack = function () {
        $state.transitionTo('download');
    };

	$scope.print = function () {
        $timeout(function () {
        	$window.print();
        });
    };
});