uiRouter and ngRoute snippets updated