Added bug fix based on timeout and defined the working angular version