State.apply() adds an empty view attribute to the generated state object, when the view was not explicitly specified in State.apply(). E.g.
$stateProvider.state("foo", State(url="foo", template="<p>bar!</p>"))
results in
$stateProvider.state('foo', { url: 'foo', template: '<p>bar!</p>', view: {} });