function init() {
		if ($routeParams.id) {
			$scope.getitems($routeParams.id);
		};
		$scope.getAllitemss();
	}
// At startup, check to see if a specific items was requested
At startup, check to see if a specific items was requested
At startup check to see if a specific items was requested
function init() {
		if ($routeParams.id) {
			$scope.getitems($routeParams.id);
		};
		$scope.getAllitemss();
	}
function init ( ) { if ( $routeParams . id ) { $scope . getitems ( $routeParams . id ) ; } ; $scope . getAllitemss ( ) ; }
At startup, check to see if a specific items was requested
At startup check to see if a specific items was requested