removed use of angular is array and just assume that it is an array. Add doc example in readme