Automatically merge server model to angular scope