I have a restaurant application built in MVC architecture in JavaScript. Now I wonder whether import for example ingredientModel to recipeModel in order to take functionalities from ingredientModel is good idea?
Please help, write some alternatives if this idea is bad!