The problem is that what you have written includes a must arguments,
you can achieve it by adding the 'keywords' as optional (by adding a question mark):
.when('/users/:offset/:filter/:keywords?',{
templateUrl:'views/users/index.html',
controller:'Users',
reloadOnSearch:false
})
.otherwise({
redirectTo:'/'
});
the offset & filter are required, but now the keywords parameters is optional.
For more info: https://docs.angularjs.org/api/ngRoute/provider/$routeProvider
From angularjs documentation:
path can contain optional named groups with a question mark: e.g.:name?.