Changed wrong scope for angular controller