Making sure nested child states work with using the parent attribute. This works by storing all state names into the 'states' dictionary. This means that if you have:

    .state('foo')
    .state('bar', { parent: 'foo' })
    .state('baz', { parent: 'baz' })

Then you'll get the following state names registered as lookup paths:

    * 'foo'
    * 'foo.bar'
    * 'foo.bar.baz'
    * 'bar'
    * 'bar.baz'
    * 'baz'