You need to use the dot notation for objects. See Understanding Scopes in AngularJs
So instead of headerInput
, use something like menu.headerInput
and also make sure to initialize a menu
object in your controller like so $scope.menu = {};
(or you can also set default values).