Question: [here is the image](http://i.stack.imgur.com/eHAoo.png) I want to add a bootstrap **caret** class in my select dropdown menu.

```css
.select_menu{
  font-size: 12px;
  outline: none;
  border: thin #ddd solid;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: #F7F7F7;
}
```

```html
<select class="form-control select_menu" style="">
    <option>Click here to select purpose</option>
    <option>Option 1</option>
    <option>Options 2 </option>
</select>
```

I have used bootstrap form-control. How can I add caret to select dropdown menu.

Answer: 
Here is full back end code which is working

```
const express = require('express');
var app = express();
var port = 9999;

function getRoot(request, response) {
    response.sendFile(path.resolve('./public/angular/index.html'));
 }

 function getUndefined(request, response) {
     response.sendFile(path.resolve('./public/angular/index.html'));
 }

 app.use(express.static('./public/angular'));

 app.get('/', getRoot);
 app.get('/*', getUndefined);

 // Start server
 app.listen(port, function () {
    console.log('server running at port: ' + port);
}); 

```
Follow the [Express node server with Angular 2 CLI](https://javascriptrocks.wordpress.com/2016/06/04/express-with-angular-cli-in-5-minutes/) document to serve your application through Node.js server. The application is being served Through Node.js and a REST full API. You can design this REST as your requirements.

E.g.

Serve application with <http://localhost:5000/app>

```
app.get('/app/*', function(req, res) {
    res.sendFile(path.join(__dirname, 'index.html'))
});

```

or 

Serve data from REST calls with <http://localhost:5000/rest/contacts> 

```
app.get('/rest/user', function(req, res) {
    res.send({
        "id": 2,
        "name": "Jhon",
    })
});

```