Change ui-router dependency to 'weak'.