How do I delete an item or object from an array using ng-click?

I am trying to write a function that enables me to remove an item when the button is clicked but I think I am getting confused with the function – do I use $digest? HTML & app.js: <ul ng-repeat=”bday in bdays”> <li> <span ng-hide=”editing” ng-click=”editing = true”>{{bday.name}} | {{bday.date}}</span> <form ng-show=”editing” ng-submit=”editing = false”> <label>Name:</label> … Read more

How do I edit a file after I shell to a Docker container?

I successfully shelled to a Docker container using: docker exec -i -t 69f1711a205e bash Now I need to edit file and I don’t have any editors inside: root@69f1711a205e:/# nano bash: nano: command not found root@69f1711a205e:/# pico bash: pico: command not found root@69f1711a205e:/# vi bash: vi: command not found root@69f1711a205e:/# vim bash: vim: command not found … Read more