Added js controller with summar