added canvas draw based on angular app model