refs #296 - Added sub models support. Generation is done using
specifying model name is angular $scope