function Ctrl($scope) {
  $scope.items = [{'type' : 'settings'}, {'type':'home'}, {'type':'other'}];
  $scope.selection = $scope.items[0];
  
  $scope.options = [
    {'title' : 'Title1', 'label' : 'Zip code', 'type' : 'xxx' },
    {'title' : 'Title2', 'label' : 'MD', 'type' : 'title1'},
    {'title' : 'Title3', 'label' : 'DMS', 'type' : 'title2'}
];
  
  $scope.test = '';
  $scope.searchType = $scope.options[0];
  
  $scope.selectSearchType = function(op){
    $scope.searchType = op;
  };
  
  $scope.actionme = function(){
    console.log('value is:' + $scope.test);
    //alert($scope.test);
  };
}
<!doctype html>
<html ng-app>
  <head>
    <script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.0.5/angular.min.js"></script>
    <script src="script.js"></script>

  </head>
  <body>

<div ng-controller="Ctrl">
  <select ng-model="selection" ng-options="item.type for item in items">
  </select>
  <tt>selection={{selection}}</tt>
  <hr/>
  <div>
    <ul>
		  <li ng-repeat="op in options"><a style="line-height: 13px;" title="{{op.title}}" tabindex="-1" href ng-click="selectSearchType(op)">{{op.title}}</a></li>
		</ul>
    
  </div>
  
  
  <span class="pew"  ng-switch on="searchType.type" >
    <div class="pew" ng-switch-when="title1">Settings Div</div>
    <span class="pew"  ng-switch-when="title2"><input ng-model="test" placeholder="pre" type="text" />{{test}}</span>
    <span class="pew"  ng-switch-default>default</span>
  </span>
  
  <button ng-click="actionme()">click</button>
  
</div>



  </body>
</html>