Question: Hello guys I'm new in here. I have a little problem this my `HomeController` and I will do Get and Create with web API but I can't find and write a Edit / Details and Delete.

```
public class HomeController : Controller
{
    // GET: Home
    public ActionResult Index()
    {

        List<Product1Model> lst =new List<Product1Model>();
        HttpClient Client = new HttpClient();
        Client.BaseAddress = new Uri("http://localhost:19440/");

        Client.DefaultRequestHeaders.Accept.Add(
           new MediaTypeWithQualityHeaderValue("application/json") );
        HttpResponseMessage responsive = Client.GetAsync("api/Product1").Result;
        if (responsive.IsSuccessStatusCode)
        {
            lst = responsive.Content.ReadAsAsync<List<Product1Model>>().Result;
        }
        return View(lst);
    }

    public ActionResult Create()
    {
      return View();
    }

    [HttpPost]
    public ActionResult Create(Product1Model model)
    {
        HttpClient Client = new HttpClient();
        Client.BaseAddress = new Uri("http://localhost:19440/");

        Client.PostAsJsonAsync<Product1Model>("api/Product1",model)
            .ContinueWith((postTask) => postTask.Result.EnsureSuccessStatusCode());
        return RedirectToAction("index");
    }

}

```

Answer: 
You can use `ng-show` somthing like :

```
    <td class="item-row-quote">
<span ng-show = "item.unit  != null" class="quote-price-text" ng-model="row.dollarPerUnitText" id="dollarPerUnit">{{ '$/' + item.unit }}</span></td>

```

I hope that this is what you mean by `nothing` it is not clear.
If you have one or two properties that may have null, then you can update them with empty strings in the controller.

```
DefaultController.$inject = ['$http'];

function DefaultController($http) {
    var vm = this;
    vm.item;

    function getItem() {
        var config = {
            transformResponse: function(data, headers) {
                if (data) {
                    if (data.unit === null || data.unit === undefined) {
                        data.unit = '';
                    }
                }

                return data;
            }
        };

        $http.get('/api/items', config)
             .success(getItemCompleted);

        function getItemCompleted(data) {
            vm.item = data;
        }
    }
}

```

If you are having many properties that may be null and if you have control of the server side code, then see if you can handle there by returning empty arrays or empty list but not null if not then write a custom filter where you can loop through all the properties of an object and assign empty string to any property that is a falsy value